import { http } from '../http'
import { LoginParams } from '../model/user'

export const UserAPI = {
  login(params: LoginParams) {
    return http.post({ url: '/user/login', params })
  },
}
